<?php

class Extends_View
	extends Zend_View {

    public function __set($key, $val) {
	/*if (is_array($val)) {
	    foreach ($val as $k => $v) {
		$val[$k] = iconv('windows-1251', 'utf-8', $v);
	    }
	}
	else {

	    $encoding = mb_detect_encoding($val);
	    if ($encoding && strtoupper($encoding) != 'UTF-8') {
		$val = iconv('windows-1251', 'UTF-8', $val);
	    }
	}*/
	parent::__set($key, $val);
    }

}